mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
chore: workflow stuff
This commit is contained in:
64
.github/workflows/release-mobile.yml
vendored
64
.github/workflows/release-mobile.yml
vendored
@@ -144,42 +144,42 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
app-repo:
|
# app-repo:
|
||||||
environment:
|
# environment:
|
||||||
name: github-pages
|
# name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
# url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
needs: [build-ios, release-app]
|
# needs: [build-ios, release-app]
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Node.js
|
# - name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
# uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: 21
|
# node-version: 21
|
||||||
|
|
||||||
- name: Create app repo
|
# - name: Create app repo
|
||||||
run: |
|
# run: |
|
||||||
npm install -g altstore-github
|
# npm install -g altstore-github
|
||||||
mkdir -p pages
|
# mkdir -p pages
|
||||||
cd apps/expo
|
# cd apps/expo
|
||||||
npx altstore-github --config repo.config.json > app.json
|
# npx altstore-github --config repo.config.json > app.json
|
||||||
mv app.json ../../pages/app.json
|
# mv app.json ../../pages/app.json
|
||||||
|
|
||||||
- name: Setup Pages
|
# - name: Setup Pages
|
||||||
uses: actions/configure-pages@v4
|
# uses: actions/configure-pages@v4
|
||||||
|
|
||||||
- name: Build with Jekyll
|
# - name: Build with Jekyll
|
||||||
uses: actions/jekyll-build-pages@v1
|
# uses: actions/jekyll-build-pages@v1
|
||||||
with:
|
# with:
|
||||||
source: ./pages
|
# source: ./pages
|
||||||
destination: ./_site
|
# destination: ./_site
|
||||||
|
|
||||||
- name: Upload artifact
|
# - name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
# uses: actions/upload-pages-artifact@v3
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
# - name: Deploy to GitHub Pages
|
||||||
id: deployment
|
# id: deployment
|
||||||
uses: actions/deploy-pages@v2
|
# uses: actions/deploy-pages@v2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user