feat: use bash expansion instead of test conditions for variables #115
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: readme | |
| "on": | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Hub readme | |
| uses: actionhippie/pushrm@db8835668f770a1b8be17d19b5e6b36450c6766f # v1 | |
| with: | |
| provider: dockerhub | |
| target: webhippie/php-caddy | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| description: Docker image for PHP on Caddy | |
| readme: README.md | |
| - name: Quay readme | |
| uses: actionhippie/pushrm@db8835668f770a1b8be17d19b5e6b36450c6766f # v1 | |
| with: | |
| provider: quay | |
| target: quay.io/webhippie/php-caddy | |
| apikey: ${{ secrets.QUAY_APIKEY }} | |
| readme: README.md | |
| ... |