Update cloudflared.yml #4
This file contains 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
# pass the cloudflared tunnel token into AWS EC2 with the cloudformation.yml. | |
# getManagementToken will make a call to the Cloudflare API to acquire the management token for the requested tunnel | |
# which then will run a specific tunnel that already created your account. | |
# Or will create the initial tunnel connection, or will make a new tunnel resplica | |
# https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/install-and-setup/deploy-cloudflared-replicas/#cloudflared-replicas | |
name: docker run cloudflared | |
on: [push] | |
jobs: | |
docker_run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: docker run cloudflared | |
run: docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token ${{ secrets.TUN_AWS }} |