Skip to content

Commit

Permalink
Switch to dockerized action
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez committed Jul 20, 2023
1 parent e26d190 commit 4d4356a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
env:
GRAFANA_URL: ${{ secrets.GRAFANA_URL }}
GRAFANA_TOKEN: ${{ secrets.GRAFANA_TOKEN }}
container:
image: grafana/grizzly:0.2.1-amd64
env:
GRAFANA_URL: ${{ secrets.GRAFANA_URL }}
GRAFANA_TOKEN: ${{ secrets.GRAFANA_TOKEN }}
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Jsonnet
uses: zendesk/setup-jsonnet@v11
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Grizzly
run: |
curl -fSL -o "grr" "https:/grafana/grizzly/releases/download/untagged-c97d0d7463ba017d1388/grr-linux-amd64"
chmod a+x "grr"
- name: Deploy dashboards
run: ./grr apply dashboards.libsonnet -l debug
run: grr apply dashboards.libsonnet -l debug

0 comments on commit 4d4356a

Please sign in to comment.