Skip to content

ci: update actions/upload-artifact to v4 #33

ci: update actions/upload-artifact to v4

ci: update actions/upload-artifact to v4 #33

Workflow file for this run

name: Deploy to Heroku
on:
push:
branches:
- feature/heroku
jobs:
test:
uses: ./.github/workflows/ci.yml

Check failure on line 10 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

error parsing called workflow ".github/workflows/cd.yml" -> "./.github/workflows/ci.yml" (source branch with sha:978d7504d073076b3a63adcb94bc59a996e881b9) : workflow is not reusable as it is missing a `on.workflow_call` trigger
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy to Heroku
uses: akhileshns/heroku-deploy@v3.12.14
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: "github-commit-monitor"
heroku_email: ${{ secrets.HEROKU_EMAIL }}
- name: Set Heroku config vars
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
heroku config:set MY_GITHUB_SECRET=${{ secrets.MY_GITHUB_SECRET }} -a github-commit-monitor
heroku config:set CHANNEL_ID=${{ secrets.CHANNEL_ID }} -a github-commit-monitor
heroku config:set APP_URL=https://github-commit-monitor-4a53c549b932.herokuapp.com/ -a github-commit-monitor