Testing Dockge CLI in CI
Some checks failed
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ checking (push) Successful in 11s
/ check-tag (push) Successful in 2s
/ create-release (push) Successful in 6s
/ build-site (push) Successful in 2m58s
/ auto-deploy-dockge (push) Failing after 0s
Some checks failed
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ checking (push) Successful in 11s
/ check-tag (push) Successful in 2s
/ create-release (push) Successful in 6s
/ build-site (push) Successful in 2m58s
/ auto-deploy-dockge (push) Failing after 0s
This commit is contained in:
parent
1cee0efcad
commit
be1416a74a
2 changed files with 28 additions and 1 deletions
|
@ -65,6 +65,33 @@ jobs:
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.ref_name }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
|
||||||
|
auto-deploy-dockge:
|
||||||
|
needs: [ build-site ]
|
||||||
|
runs-on: docker
|
||||||
|
container: nikolaik/python-nodejs:python3.11-nodejs21
|
||||||
|
steps:
|
||||||
|
- name: Configure pip
|
||||||
|
uses: |
|
||||||
|
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
|
||||||
|
- 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
|
||||||
|
|
||||||
# doesn't work atm
|
# doesn't work atm
|
||||||
# unlighthouse:
|
# unlighthouse:
|
||||||
# needs: [publish]
|
# needs: [publish]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.0-pre.2",
|
"version": "0.2.0-pre.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
|
Loading…
Reference in a new issue