fix: update & credentials #5
Workflow file for this run
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: Deploy Docker image to GitHub Pages | |
on: | |
push: | |
branches: | |
- ci-testing | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Docker image | |
run: docker build -t ghcr.io/sunny-unik/node-in-docker . | |
- name: Login to GitHub Container Registry | |
run: echo "${{ secrets.packages }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin | |
- name: Push Docker image | |
run: docker push ghcr.io/sunny-unik/node-in-docker | |
- name: Deploy Docker image to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: . |