fix: replace rune name #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deployment runebeta | |
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
release: | |
# if: github.ref_name == 'master' || github.event_name == 'workflow_dispatch' | |
runs-on: [self-hosted] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref_name }} | |
- name: Build docker image | |
run: | | |
docker build . -f Dockerfile -t ${{ github.event.repository.name }} | |
- name: stop container | |
run: docker stop ${{ github.event.repository.name }} || echo | |
- name: Running container | |
run: | | |
docker run --rm -p 3000:3000 \ | |
--network=host --name ${{ github.event.repository.name }} --env-file .env.dev -d ${{ github.event.repository.name }} | |
- name: Health-check | |
run: sleep 30 && curl localhost:3000 |