Sync main to Website #317
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: Sync main to Website | |
on: | |
workflow_run: | |
workflows: ["Rebuild awesome aussie README.md"] | |
branches: ['main', 'airtable'] | |
types: | |
- completed | |
jobs: | |
sync-branches: | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Opening pull request | |
id: pull | |
uses: tretuna/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FROM_BRANCH: main | |
TO_BRANCH: gh-pages | |
PULL_REQUEST_TITLE: '[AUTO] Update docs site' | |
PULL_REQUEST_BODY: | | |
Merging main into gh-pages, to be deployed to [awesome-aussie.com](https://awesome-aussie.com/). |