firq-dev-website/.forgejo/workflows/test_dockge.yml
Firq 60330800f9
Some checks failed
/ auto-deploy-dockge (push) Failing after 9s
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
Dockge Test 2
2024-07-20 17:56:13 +02:00

32 lines
1 KiB
YAML

on:
push:
branches:
- '**'
jobs:
auto-deploy-dockge:
runs-on: docker
container: nikolaik/python-nodejs:python3.11-nodejs21
steps:
- name: Configure pip
run: |
pip config set global.index-url https://pypi.org/simple
pip config set global.extra-index-url https://forgejo.neshweb.net/api/packages/Firq/pypi/simple/
pip config set global.timeout 60
pip config set global.trusted-host "pypi.org forgejo.neshweb.net"
- name: Install Dockge CLI
run: pip install dockge-cli==0.1.1-c.1
- name: Configure Dockge CLI
run: |
dockge host https://dockge.firq.dev
dockge login --user "${{ secrets.DOCKGE_USER }}" --password "${{ secrets.DOCKGE_CREDENTIAL }}"
- name: Check status and redeploy
run: |
dockge status firq-dev-preview
dockge update firq-dev-preview
dockge status firq-dev-preview
- name: Reset CLI
run : |
dockge logout
dockge exit