AjayAujla / Portfolio

https://ajayaujla.github.io/
MIT License
0 stars 0 forks source link

Workflow to Update Other Repos #13

Closed AjayAujla closed 3 years ago

AjayAujla commented 4 years ago

Squash and force push to:

References

AjayAujla commented 4 years ago
name: Update Other Repos
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - run: |
          git remote add com https://github.com/AjayAujla/ajayaujla.com
          git remote add io https://github.com/AjayAujla/ajayaujla.github.io
          git reset $(git commit-tree HEAD^{tree} -m "Initial commit") # squash all commits
          git push -f com master
          git push -f io master