Skip to content

experiment5

experiment5 #5

Workflow file for this run

---
name: Experiment
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 fetch
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_kernel.rst
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git commit -am "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