diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..13c7673 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,11 @@ +# Publishes this package to bats-lang/repository-prototype when src/ or +# bats.toml changes on main. See PUBLISHING-SETUP.md there. +name: publish +on: + push: + branches: [main] + paths: ['src/**', 'bats.toml'] +jobs: + publish: + uses: bats-lang/repository-prototype/.github/workflows/publish.yml@main + secrets: inherit diff --git a/.gitignore b/.gitignore index ad2d364..07fe2e0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ release/ _bats_* bats_modules/ bats.lock +docs/ +build/ +dist/