Skip to content

Updated Note _logs/2025-01-03.md #1832

Updated Note _logs/2025-01-03.md

Updated Note _logs/2025-01-03.md #1832

name: Update vessel position
on:
push:
branches:
- main
jobs:
updateposition:
name: Update position
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install yaml
- run: node .github/updateposition.mjs
- name: Commit files
run: |
if [ -z "$(git status --porcelain)" ]; then exit 0;fi
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Updated vessel position" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main