experiment #1
Workflow file for this run
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: PR Checks | |
on: | |
push: | |
branches: [vendor-docs] | |
schedule: | |
# Every Monday at 6AM UTC | |
- cron: "0 6 * * 1" | |
jobs: | |
vendor-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Switch to external-docs | |
run: | | |
git switch external-docs | |
wget https://raw.githubusercontent.com/canonical/real-time-ubuntu-docs/main/docs/how-to/enable-real-time-ubuntu.rst -O docs/howtoguides/enable-realtime.rst | |
git add docs/howtoguides/enable-realtime.rst | |
git commit -m "new external docs" | |
git rebase origin/docs | |
git push origin external-docs --force-with-lease | |
#- name: Install dependencies | |
# run: cd ./.github/actions/pr-checklist && npm install | |
#- name: Vendor Docs | |
# uses: ./.github/actions/vendor-docs | |
# id: vendor-docs | |
# with: | |
# repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# files-files: external-docs-files.yaml | |
# branch-name: external-docs |