Skip to content

deploy android/quest apk to gh-pages #55

deploy android/quest apk to gh-pages

deploy android/quest apk to gh-pages #55

name: deploy android/quest apk to gh-pages
on:
workflow_run:
branches: [main]
workflows: [CI]
types: [completed]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-android
- run: mkdir dist
- run: cp target/x/release/android/osmeta.apk dist/osmeta.apk
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
keep_files: true