Skip to content

Update ci.yml

Update ci.yml #9

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 -u username --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: .