Skip to content

update experience and resume #34

update experience and resume

update experience and resume #34

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout repo
uses: actions/checkout@v4 # Updated to v4
# Step 2: Set up Node.js
- name: Setup Node
uses: actions/setup-node@v4 # Updated to v4
with:
node-version: 18
# Step 3: Install dependencies
- name: Install dependencies
run: npm install # Replaced bahmutov/npm-install@v1 with standard npm install
# Step 4: Build the project
- name: Build project
run: npm run build
# Step 5: Upload production-ready build files
- name: Upload production-ready build files
uses: actions/upload-artifact@v4 # Updated to v4
with:
name: production-files
path: ./dist
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
# Step 1: Download the artifact
- name: Download artifact
uses: actions/download-artifact@v4 # Updated to v4
with:
name: production-files
path: ./dist
# Step 2: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist