Skip to content

Update main.yml

Update main.yml #82

Workflow file for this run

name: gh-pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: ~/.pub-cache
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: ${{ runner.os }}-pub-
- uses: subosito/flutter-action@v2
- run: flutter pub get
- uses: bluefireteam/flutter-gh-pages@v7
- run: wget https://raw.githubusercontent.com/MH0386/MH0386/main/resume.pdf
- run: git checkout gh-pages
- run: git commit -m "Add My Resume"
- run: git push