chore: update oranda setup

This commit is contained in:
Harsh Shandilya 2024-04-16 22:54:12 +05:30
parent 9a2d816c0d
commit 2c4d1b2c18
3 changed files with 7 additions and 4 deletions

View File

@ -5,5 +5,5 @@
"github>msfjarvis/shared-workflows//renovate/rust",
"github>msfjarvis/shared-workflows//renovate/automerge"
],
"ignorePaths": [".github/workflows/release.yml"]
"ignorePaths": [".github/workflows/release.yml", ".github/workflows/web.yml"]
}

View File

@ -54,7 +54,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
@ -66,7 +66,7 @@ jobs:
# This will write all output to ./public/ (including copying mdbook's output to there)
- name: Install and run oranda
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.6.1/oranda-installer.sh | sh
oranda build
# Deploy to our gh-pages branch (creating it if it doesn't exist)
@ -77,7 +77,7 @@ jobs:
# go into repo's settings > pages and set "deploy from branch: gh-pages"
# the other defaults work fine.
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.4.1
# ONLY if we're on main (so no PRs or feature branches allowed!)
if: ${{ github.ref == 'refs/heads/main' }}
with:

View File

@ -1,4 +1,7 @@
{
"project": {
"name": "adnix-rs"
},
"build": {
"path_prefix": "adnix-rs"
},