Skip to content

Commit

Permalink
add: upload artifact
Browse files Browse the repository at this point in the history
Docker内で生成したicsファイルを成果物としてアップロードする
  • Loading branch information
ushibutatory committed Aug 28, 2023
1 parent 958367f commit 5e984c0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- develop
paths:
- .github/workflows/deploy-prod.yaml
- src/**
Expand All @@ -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

0 comments on commit 5e984c0

Please sign in to comment.