Skip to content

Instantly share code, notes, and snippets.

@kaustubhgupta
Created October 12, 2020 20:06
Show Gist options
  • Save kaustubhgupta/b54efdbf8adaabc0478b7785362556ae to your computer and use it in GitHub Desktop.
Save kaustubhgupta/b54efdbf8adaabc0478b7785362556ae to your computer and use it in GitHub Desktop.
name: Latest portfolio
on:
schedule:
# Runs at the end of every day.
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
job_1:
name: update-index-with-project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: kaustubhgupta/PortfolioFy@v1.0
with:
gh_token: ${{ secrets.TOKEN }} # Create a secret for access token and modify the name as you wish
- uses: test-room-7/action-update-file@v1
with:
file-path: |
index.html
commit-msg: index file added
github-token: ${{ secrets.TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment