Skip to content

chore: Change Docker image #72

chore: Change Docker image

chore: Change Docker image #72

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital
# SPDX-License-Identifier: MIT
name: Test E2E
on:
push:
branches:
- main
- feat/auth-methods
permissions:
contents: read
jobs:
sync-to-confluence:
environment: production
name: Sync Docs to Confluence
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Sync Docs
id: sync-docs
uses: ./
with:
mode: id
docs-dir: '.'
confluence-notice-message: 'This page is automatically generated from content in the <a href="https://github.com/Telefonica/markdown-confluence-sync-action" target="_blank">markdown-confluence-sync-action repository</a> Changes made manually will be lost, you should edit this page in Github instead.'
files-pattern: '*.md'
files-metadata: |
[
{
"path": "README.md",
"id": "${{ secrets.CONFLUENCE_README_PAGE_ID }}",
"title": "[Cross] [Markdown Confluence Sync] Github action"
},
{
"path": "CHANGELOG.md",
"id": "${{ secrets.CONFLUENCE_CHANGELOG_PAGE_ID }}",
"title": "[Cross] [Markdown Confluence Sync] [Github action] Releases"
}
]
confluence-url: ${{ secrets.CONFLUENCE_URL }}
confluence-space-key: ${{ secrets.CONFLUENCE_SPACE_KEY }}
confluence-authentication: |
{
"oauth2": {
"accessToken": "${{ secrets.CONFLUENCE_PAT }}"
}
}
log-level: debug
test-e2e:
environment: production
name: Test E2E
runs-on: ubuntu-latest
needs: sync-to-confluence
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
id: setup-node
- name: Run E2E Tests
run: npm run test:e2e
env:
CONFLUENCE_URL: ${{ secrets.CONFLUENCE_URL }}
CONFLUENCE_PAT: ${{ secrets.CONFLUENCE_PAT }}
CONFLUENCE_README_PAGE_ID: ${{ secrets.CONFLUENCE_README_PAGE_ID }}
CONFLUENCE_CHANGELOG_PAGE_ID: ${{ secrets.CONFLUENCE_CHANGELOG_PAGE_ID }}