Skip to content

Delete CNAME

Delete CNAME #6

Workflow file for this run

name: Build and Publish Nightly
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: mr-smithers-excellent/docker-build-push@v6
id: docker_build
with:
image: main
tags: nightly,${{ github.sha }}
registry: ghcr.io
directory: ./
dockerfile: ./Dockerfile
addLatest: false
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract static files
run: >
docker run --rm --entrypoint /bin/sh -v $(pwd):/mnt
${{ steps.docker_build.outputs.imageFullName }}
-c "cp -r /app/client/ /mnt/client/ && chmod -R 777 /mnt/client/"
- name: Packing files
run: |
cd client && zip -r ../client.zip . && cd ..
tar -czf client.tar.gz client
- name: Generating hashes
run: |
sha256sum client.tar.gz > client.tar.gz.sha256
sha256sum client.zip > client.zip.sha256
md5sum client.tar.gz > client.tar.gz.md5
md5sum client.zip > client.zip.md5
- name: Upload client bundle
uses: actions/upload-artifact@v4
with:
name: client-bundle
path: |
client.tar.gz
client.zip
client.tar.gz.sha256
client.zip.sha256
client.tar.gz.md5
client.zip.md5