Removed Dockge again, switched to alpine images
This commit is contained in:
parent
bc5f43802f
commit
186b797bb6
3 changed files with 29 additions and 51 deletions
.forgejo/workflows
|
@ -65,50 +65,30 @@ jobs:
|
|||
tag: ${{ github.ref_name }}
|
||||
prerelease: true
|
||||
|
||||
auto-deploy-dockge:
|
||||
needs: [ build-site ]
|
||||
runs-on: docker
|
||||
if: success()
|
||||
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
|
||||
- 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
|
||||
# unlighthouse:
|
||||
# needs: [publish]
|
||||
# if: success()
|
||||
# auto-deploy-dockge:
|
||||
# needs: [ build-site ]
|
||||
# runs-on: docker
|
||||
# container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
|
||||
# services:
|
||||
# website:
|
||||
# image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
||||
# if: success()
|
||||
# container: nikolaik/python-nodejs:python3.11-nodejs21
|
||||
# steps:
|
||||
# - name: Install Dependencies
|
||||
# run: npm install @unlighthouse/cli puppeteer
|
||||
# - name: Run unlighthouse
|
||||
# run: node_modules/.bin/unlighthouse-ci
|
||||
# - name: Upload reports
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: unlighthouse-reports
|
||||
# path: unlighthouse-reports/
|
||||
# - 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
|
||||
# - 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue