Skip to content

update ci credentials #11

update ci credentials

update ci credentials #11

Workflow file for this run

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: docker login ghcr.io -u Sunny-unik --password ${{ secrets.GITHUB_TOKEN }}
- 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: .