Merge pull request #22 from MH0386/renovate/lock-file-maintenance #117
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: 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@v8 | |
- run: wget https://raw.githubusercontent.com/MH0386/MH0386/main/resume.pdf | |
- run: git checkout gh-pages | |
- run: git add resume.pdf | |
- run: git commit -m "Add My Resume" | |
- run: git push |