diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index 19de6de..4df8e55 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - develop paths: - .github/workflows/deploy-prod.yaml - src/** @@ -25,11 +26,11 @@ jobs: npm install npm run lint npm run test - - name: Deploy to Heroku + - name: Generate Calendar run: | - heroku container:login - heroku container:push web -a ${HEROKU_APP_NAME} - heroku container:release web -a ${HEROKU_APP_NAME} - env: - HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }} - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} + npm run generate + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: birthdays.ics + path: data/*.ics