Update oranda.json #2
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: Oranda | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
web: | |
name: Build oranda | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install and run oranda | |
run: | | |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh | |
oranda build | |
- name: Deploy oranda | |
uses: JamesIves/[email protected] | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
branch: gh-pages | |
folder: public | |
token: ${{ secrets.GITHUB_TOKEN }} | |
single-commit: true |