Skip to content

Commit

Permalink
Update default action
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleygwilliams committed Jun 19, 2023
1 parent f8becbc commit 52524db
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/oranda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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/github-pages-deploy-action@v4.4.1
if: ${{ github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: public
token: ${{ secrets.GITHUB_TOKEN }}
single-commit: true

0 comments on commit 52524db

Please sign in to comment.