SeaCogs/.forgejo/workflows/build-docs.yaml
SeaswimmerTheFsh 0bdb6564e6
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 16s
Build Documentation / Build (push) Failing after 5s
fix(workflows): fixed some things
2024-01-05 13:19:36 +00:00

33 lines
877 B
YAML

name: Build Documentation
on:
push:
branches:
- main
jobs:
Build:
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Login to CoastalCommits
uses: actions/docker-login@v3
with:
registry: coastalcommits.com
username: SeaswimmerTheFsh
password: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Build and push Docker image
uses: actions/docker-build-push@v5
with:
context: .
file: Dockerfile
push: true
tags: coastalcommits.com/seaswimmerthefsh/seacogs-docs:latest
- name: Update Portainer stack
uses: actions/http@v1
with:
url: ${{ secrets.PORTAINER_WEBHOOK }}