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
- name: Test Custom | |
uses: rjstone/discord-webhook-notify@v1 | |
with: | |
severity: info | |
username: CustomUsername | |
color: '#ff00aa' | |
avatarUrl: https://github.githubassets.com/images/modules/logos_page/Octocat.png | |
description: This is a custom description. | |
details: 'Custom details: Somebody set up us the bomb.' | |
footer: This is a footer. |
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
mkdir -p /tmp/etc/config | |
ln -sf /tmp/custom.sh /tmp/etc/config/ipv6-tunnel.wanup |
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
#!/bin/sh | |
# HE IPv6 6in4 config script. See https://is.gd/Aijzpc for more info. | |
# If needed, add -x after /bin/sh above for more debug output. | |
# Save this as your "Custom Script". | |
# Put this in your Startup Script to use this script: | |
# mkdir -p /tmp/etc/config | |
# ln -sf /tmp/custom.sh /tmp/etc/config/ipv6-tunnel.wanup | |
####### Configuration ######## |
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
#!/bin/bash | |
# Get cdn.rawgit.com hash URLs for most recent commit of files in git repo. | |
# 1) cd to root directory of repository | |
# 2) run script on one or more filenames. | |
# Your working dir must be repo root or the URLs will be wrong. | |
# If you have 'globstar' enabled and your shell supports it, run with ** for recursion. | |
for f in $@ | |
do | |
url=`git ls-remote --get-url | sed 's#\.git$##' | sed 's#//github.com/#//cdn.rawgit.com/#'` |