Skip to content

Commit

Permalink
Create run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour authored Sep 9, 2024
1 parent c851f4d commit 1d709fa
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build-main
run-name: build-main
on:
push:
branches:
- main
schedule:
# every day at midnight
- cron: 0 0 * * *

jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/osgeo/gdal
permissions:
contents: write
name: main
steps:
- run: apt-get update

- run: apt-get install -y git

- uses: actions/checkout@v3

- run: sh ./run.sh

- run: ls ./files

# prevents fatal: detected dubious ownership in repository at '/__w/ogr2ogr/ogr2ogr'
- run: git config --global --add safe.directory /__w/ogr2ogr/ogr2ogr

# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5

0 comments on commit 1d709fa

Please sign in to comment.