Skip to content

Commit 9685fc0

Browse files
Update default action
1 parent 6faef5e commit 9685fc0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/oranda.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Oranda
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
web:
8+
name: Build oranda
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions-rs/toolchain@v1
15+
with:
16+
toolchain: stable
17+
override: true
18+
- name: Install and run oranda
19+
run: |
20+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh
21+
oranda build
22+
- name: Deploy oranda
23+
uses: JamesIves/[email protected]
24+
if: ${{ github.ref == 'refs/heads/master' }}
25+
with:
26+
branch: gh-pages
27+
folder: public
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
single-commit: true

0 commit comments

Comments
 (0)