Skip to content

Commit aebc1e9

Browse files
authored
Merge pull request #5 from akadev1/main
add this
2 parents 8702468 + 06f2a1c commit aebc1e9

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow will trigger Datadog Synthetic tests within your Datadog organisation
2+
# For more information on running Synthetic tests within your GitHub workflows see: https://docs.datadoghq.com/synthetics/cicd_integrations/github_actions/
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
# To get started:
10+
11+
# 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/.
12+
# 2. Start using the action within your workflow
13+
14+
name: Run Datadog Synthetic tests
15+
16+
on:
17+
push:
18+
branches: [ "main" ]
19+
pull_request:
20+
branches: [ "main" ]
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
# Run Synthetic tests within your GitHub workflow.
30+
# For additional configuration options visit the action within the marketplace: https://github.com/marketplace/actions/datadog-synthetics-ci
31+
- name: Run Datadog Synthetic tests
32+
uses: DataDog/synthetics-ci-github-action@87b505388a22005bb8013481e3f73a367b9a53eb # v1.4.0
33+
with:
34+
api_key: ${{secrets.DD_API_KEY}}
35+
app_key: ${{secrets.DD_APP_KEY}}
36+
test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy
37+
38+

.github/workflows/jekyll-docker.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Jekyll site CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Build the site in the jekyll/builder container
17+
run: |
18+
docker run \
19+
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
20+
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"

0 commit comments

Comments
 (0)