Update README.markdown #9
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: AUR CI | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Build Docker image." | |
run: docker --debug build -t arch_repo . | |
- name: "Run the Docker image." | |
run: docker run --name arch_pkgs arch_repo | |
- name: "Copy repo to GitHub Actions disk." | |
run: docker cp arch_pkgs:/home/builduser/x86_64.tgz . | |
- name: "Extract the repo." | |
run: | | |
tar -xvzf x86_64.tgz | |
mkdir dist | |
mv x86_64 dist | |
- name: "Deploy the repo." | |
uses: JamesIves/github-pages-deploy-action@v4.2.5 | |
with: | |
branch: gh-pages | |
folder: dist |