mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 19:05:41 +00:00
This commit is contained in:
parent
a59af8227e
commit
f602768e2d
@ -19,6 +19,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_OPTIONS: --max_old_space_size=4096
|
NODE_OPTIONS: --max_old_space_size=4096
|
||||||
|
|
||||||
|
- name: Decrypt secrets
|
||||||
|
run: ./decrypt_secrets.sh
|
||||||
|
env:
|
||||||
|
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@ -51,10 +56,5 @@ jobs:
|
|||||||
- name: Pull the Docker image
|
- name: Pull the Docker image
|
||||||
run: sudo docker pull rfreeman420/portfolio:v1
|
run: sudo docker pull rfreeman420/portfolio:v1
|
||||||
|
|
||||||
- name: Decrypt secrets
|
|
||||||
run: ./decrypt_secrets.sh
|
|
||||||
env:
|
|
||||||
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }}
|
|
||||||
|
|
||||||
- name: Run the Docker container
|
- name: Run the Docker container
|
||||||
run: sudo docker run -d --restart unless-stopped --env-file ./.env --name portfolio -p ${{vars.TAILSCALE_IP}}:7777:3000 rfreeman420/portfolio:v1
|
run: sudo docker run -d --restart unless-stopped --env-file ./.env --name portfolio -p ${{vars.TAILSCALE_IP}}:3000:3000 rfreeman420/portfolio:v1
|
Loading…
Reference in New Issue
Block a user