Skip to content

add action

add action #1

Workflow file for this run

name: Autopublisher

Check failure on line 1 in .github/workflows/autopublisher.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/autopublisher.yml

Invalid workflow file

`jobs` is not a valid event name
on:
push:
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