diff --git a/.github/workflows/docs-preview.yaml b/.github/workflows/docs-preview.yaml index 21451e5f5979..098e18d9b9c6 100644 --- a/.github/workflows/docs-preview.yaml +++ b/.github/workflows/docs-preview.yaml @@ -6,14 +6,11 @@ on: - main permissions: - actions: none checks: none contents: read - deployments: none issues: none packages: none pull-requests: write - repository-projects: none security-events: none statuses: none @@ -26,6 +23,16 @@ jobs: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 + - name: Check secrets presence + id: checksecrets + shell: bash + run: | + if [ "$READONLY_M_DEPLOY_KEY" == "" ]; then + echo "oh no it is false" + else + echo "it is set and not an empty string" + fi + - name: Checkout m uses: actions/checkout@v2 with: diff --git a/docs/README.md b/docs/README.md index f02649af76c6..f1361d580cbc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -75,3 +75,5 @@ positions](https://coder.com/careers#openings)! Want remote development for your organization or enterprise? Visit [our website](https://coder.com) to learn more about Coder. + +woot woot