fun with quotes #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Autopublisher | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
jobs: | ||
publishing_job: | ||
runs-on: self-hosted | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Git to Staging Repo | ||
run: | | ||
$GITHUB_WORKSPACE/publisher/auto_git2staging.sh | ||
env: | ||
PUBLISHER_ENVIRONMENT: ${{ PUBLISHER_ENVIRONMENT }} | ||
Check failure on line 19 in .github/workflows/autopublisher.yml GitHub Actions / AutopublisherInvalid workflow file
|
||
- name: Staging to Prod Repo | ||
run: | | ||
$GITHUB_WORKSPACE/publisher/auto_staging2prod.sh | ||
env: | ||
PUBLISHER_ENVIRONMENT: $PUBLISHER_ENVIRONMENT | ||
- name: Cleanup Staging Repo | ||
run: | | ||
$GITHUB_WORKSPACE/publisher/auto_stagingcleanup.sh | ||
env: | ||
PUBLISHER_ENVIRONMENT: "${{ env.PUBLISHER_ENVIRONMENT }}" | ||