Skip to content

Bump version: 4.6.47 → 4.6.48 #1055

Bump version: 4.6.47 → 4.6.48

Bump version: 4.6.47 → 4.6.48 #1055

---
name: Release to Github Pages
on:
push:
branches: [ dev ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: contains(github.actor, '[bot]')
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4.1.0
with:
python-version: 3.10.9
architecture: x64
- name: Install packages
run: |
pip install -r requirements-dev.txt
pip install wheel setuptools
- name: Build minified versions
run: python3 ./tools/prepare_live.py
- name: Remove Git Ignore (This might be changed in the future)
run: rm .gitignore
- name: Move Files
run: mkdir ./deploy-directory && mv -f ./* ./deploy-directory/ || true
- name: Pre Write Files
run: echo 'This repo Dev Github Pages for DK64Rando, you need to go to https://github.com/2dos/DK64-Randomizer' > ./deploy-directory/README.md && echo 'dev.dk64randomizer.com' > ./deploy-directory/CNAME && touch ./deploy-directory/.nojekyll
- name: Deploy to Github Pages
uses: hpcodecraft/action-deploy-workspace-to-repo@v2.2
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
SRC_FOLDER: ./deploy-directory
DEST_OWNER: 2dos
DEST_REPO: DK64-Randomizer-Dev
DEST_BRANCH: main
DEST_FOLDER: ./
DEST_PREDEPLOY_CLEANUP: rm -rf ./*