Pull Resume #9427
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: Pull Resume | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: 0 * * * * | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: pull resume files from resume repo | |
run: | | |
git rm resume | |
git submodule add https://github.com/rajeevatla/resume.git | |
- name: commit resume files | |
run: | | |
git config user.email [email protected] | |
git config user.name github-actions | |
git add . | |
git commit --allow-empty -m "add resume files" | |
- name: push resume files | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |