Merge pull request #8 from Rudxain/patch-1 #6
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
# cd.yaml | |
name: Build and Deploy | |
on: [push] | |
jobs: | |
build-and-deploy: | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: Install and Build π§ | |
run: | | |
mkdir output | |
cp readme.md output/ | |
echo ${{ github.event.repository.name }}.cli.rs >> output/CNAME | |
echo theme: jekyll-theme-cayman >> output/_config.yml | |
- name: Deploy π | |
uses: JamesIves/github-pages-deploy-action@v4.2.5 | |
with: | |
branch: gh-pages | |
folder: output |