# Terminal git checkout -b ingress git rebase ingress asdf native ruby 3.3.1 bin/rails s
# .github/workflows/ingress.yml title: Replace Writebook Supply on: schedule: - cron: "0 3 * * *" workflow_dispatch: jobs: replace: runs-on: ubuntu-latest permissions: contents: write steps: - makes use of: actions/checkout@v2 with: ref: ingress - title: Take away Previous Recordsdata run: | shopt -s extglob rm -rf !(|.git|.|..) - title: Obtain and Unzip Supply run: | curl -o obtain.zip https://auth.as soon as.com/obtain/${{ secrets and techniques.PURCHASE_TOKEN }} unzip -o obtain.zip rm obtain.zip - title: Configure Git run: | git config --local consumer.e mail "github-actions@customers.noreply.github.com" git config --local consumer.title "github-actions" - title: Commit and Push Adjustments run: | git add . git diff --staged --quiet || git commit -m "Replace supply recordsdata $(date +%F)" git push origin ingress
# .gitignore log/*.log storage/db/* storage/recordsdata/* tmp/local_secret.txt tmp/restart.txt