Skip to content

🚀 Update update manifests #61

🚀 Update update manifests

🚀 Update update manifests #61

Workflow file for this run

name: Pre-Deploy Updates Server
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.DEPLOY_KEY }}
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Fetch and override deploy branch
run: |
git checkout main
git pull
git branch -D deploy || true
git checkout -b deploy
- name: Write redirects
run: |
python scripts/write_redirects.py
- name: Add confirm message
run: |
echo "Ready to deploy!"
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🔖 Updated update server
commit_user_name: Zen Browser Robot
commit_user_email: [email protected]
branch: deploy
push_options: '--force'