Skip to content

Commit

Permalink
yaml-fun
Browse files Browse the repository at this point in the history
  • Loading branch information
nnamtug committed May 23, 2024
1 parent bb9cf9c commit e60c3de
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/autopublisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
publishing_job:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Git to Staging Repo
run: |
$GITHUB_WORKSPACE/publisher/auto_git2staging.sh
- name: Staging to Prod Repo
run: |
$GITHUB_WORKSPACE/publisher/auto_staging2prod.sh
- name: Cleanup Staging Repo
run: |
$GITHUB_WORKSPACE/publisher/auto_stagingcleanup.sh
jobs:
publishing_job:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Git to Staging Repo
run: |
$GITHUB_WORKSPACE/publisher/auto_git2staging.sh
- name: Staging to Prod Repo
run: |
$GITHUB_WORKSPACE/publisher/auto_staging2prod.sh
- name: Cleanup Staging Repo
run: |
$GITHUB_WORKSPACE/publisher/auto_stagingcleanup.sh

0 comments on commit e60c3de

Please sign in to comment.