-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 929 Bytes
/
resume..yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Download Resume
on:
push:
branches:
- main
jobs:
download-file:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Change directory
run: cd static/files
- name: Download file
run: |
curl -O https://raw.githubusercontent.com/xavierloeraflores/resume/main/resume.pdf
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "xavierloeraflores"
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and push changes
run: |
git add .
git commit -m "Downloaded file via GitHub Actions"
git push https://${{ secrets.GH_TOKEN_CLASSIC_LOERAFLORES_COM }}@github.com/xavierloeraflores/resume.git HEAD:main