mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
feat: create ios altstore repo.json on release
This commit is contained in:
42
.github/workflows/release-mobile.yml
vendored
42
.github/workflows/release-mobile.yml
vendored
@@ -7,6 +7,8 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
bump-version:
|
||||
@@ -141,3 +143,43 @@ jobs:
|
||||
token: ${{ env.GITHUB_TOKEN }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
altstore-repo:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-ios, release-app]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 21
|
||||
|
||||
- name: Create app repo
|
||||
run: |
|
||||
npm install -g altstore-github
|
||||
mkdir -p pages
|
||||
cd apps/expo
|
||||
npx altstore-github --config repo.config.json > app.json
|
||||
mv app.json ../../pages/app.json
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Build with Jekyll
|
||||
uses: actions/jekyll-build-pages@v1
|
||||
with:
|
||||
source: ./pages
|
||||
destination: ./_site
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
|
||||
|
16
apps/expo/repo.config.json
Normal file
16
apps/expo/repo.config.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"apps": [
|
||||
{
|
||||
"name": "movie-web",
|
||||
"bundleIdentifier": "dev.movieweb.app",
|
||||
"filename": "movie-web.ipa",
|
||||
"githubOwner": "movie-web",
|
||||
"githubRepository": "native-app",
|
||||
"developerName": "movie-web",
|
||||
"subtitle": "A small app for watching movies and shows easily",
|
||||
"localizedDescription": "This service works by displaying video files from third-party providers inside an intuitive and aesthetic user interface.",
|
||||
"iconURL": "https://github.com/movie-web/native-app/blob/master/apps/expo/assets/images/icon.png?raw=true",
|
||||
"tintColor": "a87fd1"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user