feature/84-character-creation #88

Merged
rainote merged 60 commits from feature/84-character-creation into master 2023-11-17 07:29:21 +00:00
2 changed files with 45 additions and 0 deletions
Showing only changes of commit 6ebc360d1b - Show all commits

View file

@ -66,6 +66,49 @@ jobs:
path: artifacts/${{ env.ALGOLIA_ARTIFACT }} path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
retention-days: 14 retention-days: 14
build-docs-container:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
needs: [ docs ]
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Retrieve docs artifact
uses: actions/download-artifact@v2
with:
name: wiki.zip
- name: Unzip wiki.zip into .public
run: |
mkdir .public
unzip wiki.zip -d .public
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Wiki.Dockerfile
push: true
tags: forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }}-wiki
platforms: linux/amd64,linux/arm64
- name: Build and push to latest
if: github.ref_name == 'master'
uses: docker/build-push-action@v5
with:
context: .
file: Wiki.Dockerfile
push: true
tags: forge.rainote.dev/${{ github.repository }}:latest-wiki
platforms: linux/amd64, linux/arm64
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

2
Wiki.Dockerfile Normal file
View file

@ -0,0 +1,2 @@
FROM nginx
COPY .public /usr/share/nginx/html